//
//  SSHConnection.h
//  Communique
//
//  Created by Thomas on 11/03/2009.
//  Copyright 2009 Delete Ltd. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class Bookmark, PTYSession;

@interface TerminalWindowSession : NSObject {
	Bookmark*		_bookmark;
	PTYSession*		_ptySession;
	NSTabViewItem*	_tabViewItem;
	BOOL			_connected;
	BOOL			_ssh;
	int				_identifier;
}

@property (readwrite, retain) Bookmark* bookmark;
@property (readwrite, retain) PTYSession* ptySession;
@property (readwrite, retain) NSTabViewItem* tabViewItem;
@property (readwrite, assign) BOOL connected;
@property (readwrite, assign) BOOL ssh;
@property (readwrite, assign) int identifier;

-(void) foundString:(NSString*) string;
-(void) setPTYSession:(PTYSession*) session;
-(void) terminate ;

@end
